package com.hebeu.device.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class DMaintenance extends MyPage{
    //维修记录id
    private Integer mainId;
    //维修人员
    private String mainPerson;
    //分配时间
    private Date disTime;
    //检测记录
    private String checkOrder;
    //维修记录
    private String mainOrder;
    //维修检测时间
    private Date checkTime;
    //人工费
    private Double personPay;
    //材料费
    private Double matiPay;
    //保修承诺
    private String mainPermit;
    //注意事项
    private String note;
    //检修状态\n1、未分配\n2、已分配\n3、已维修\n4、撤销\n
    private Integer mainStatus;
    //维修延迟程度\n1、一般\n2比较严重\n3、严重\n
    private Integer postponeDegree;
    //创建时间
    private Date createTime;
    //最后修改时间
    private Date alterTime;
    //保修记录
    private Integer serviceId;

    public Integer getMainId() {
        return mainId;
    }

    public void setMainId(Integer mainId) {
        this.mainId = mainId;
    }

    public String getMainPerson() {
        return mainPerson;
    }

    public void setMainPerson(String mainPerson) {
        this.mainPerson = mainPerson == null ? null : mainPerson.trim();
    }

    public Date getDisTime() {
        return disTime;
    }

    public void setDisTime(Date disTime) {
        this.disTime = disTime;
    }

    public String getCheckOrder() {
        return checkOrder;
    }

    public void setCheckOrder(String checkOrder) {
        this.checkOrder = checkOrder == null ? null : checkOrder.trim();
    }

    public String getMainOrder() {
        return mainOrder;
    }

    public void setMainOrder(String mainOrder) {
        this.mainOrder = mainOrder == null ? null : mainOrder.trim();
    }

    public Date getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(Date checkTime) {
        this.checkTime = checkTime;
    }

    public Double getPersonPay() {
        return personPay;
    }

    public void setPersonPay(Double personPay) {
        this.personPay = personPay;
    }

    public Double getMatiPay() {
        return matiPay;
    }

    public void setMatiPay(Double matiPay) {
        this.matiPay = matiPay;
    }

    public String getMainPermit() {
        return mainPermit;
    }

    public void setMainPermit(String mainPermit) {
        this.mainPermit = mainPermit == null ? null : mainPermit.trim();
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note == null ? null : note.trim();
    }

    public Integer getMainStatus() {
        return mainStatus;
    }

    public void setMainStatus(Integer mainStatus) {
        this.mainStatus = mainStatus;
    }

    public Integer getPostponeDegree() {
        return postponeDegree;
    }

    public void setPostponeDegree(Integer postponeDegree) {
        this.postponeDegree = postponeDegree;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getAlterTime() {
        return alterTime;
    }

    public void setAlterTime(Date alterTime) {
        this.alterTime = alterTime;
    }

    public Integer getServiceId() {
        return serviceId;
    }

    public void setServiceId(Integer serviceId) {
        this.serviceId = serviceId;
    }
}